<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Status extends Model
{
    protected $fillable=['content'];
    /*
     * 微博对人是一对一,所以使用单数形式
     */
    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
